8-puzzle Problem in Artificial Intelligence